import './assets/main.css'

import { createApp,provide } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import VuePapaParse from 'vue-papa-parse'
// elementplus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import'../src/permissions'
// 阿里矢量
import '@/assets/iconfont/iconfont.css'
import '@/assets/iconfont/iconfont.js'
// 通用字体
import 'vfonts/Lato.css'
// 等宽字体
import 'vfonts/FiraCode.css'


import App from './App.vue'
import router from './router'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

const data='hello Word';

app.provide('data',data);
app.use(pinia)
app.use(router)

app.use(ElementPlus)
app.use(VuePapaParse)

app.mount('#app')
